<div class="col-lg-8">
    <div class="panel panel-default">
        <div class="panel-heading">
            DATA KENDARAAN
        </div>
        <!-- /.panel-heading -->
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-hover">
                    <thead>
                        <tr>
                            <th>Nomor Plat</th>
                            <th>Nama User</th>
                            <th>Nama Kesayangan</th>
                            <th>Jenis VW</th>
                            <th>Tahun Produksi</th>
                            <th>Nomor Rangka</th>
                            <th>Nomor Lambung</th>
                            <th>Nomor KTA</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($data as $row){?>
                        <tr>                            
                            <td>
                                <a href="<?php echo site_url("jualbeli/data_edit_data_kendaraan/".$row->Nomor_Plat); ?>">
                                    <?php echo $row->Nomor_Plat;?> 
                                </a>
                            </td>
                            <td><?php echo $row->first_name; echo " ".$row->last_name;?></td>
                            <td><?php echo $row->Nama_Kesayangan;?></td>
                            <td><?php echo $row->Jenis_VW;?></td>
                            <td><?php echo $row->Tahun_Produksi;?></td>
                            <td><?php echo $row->Nomor_Rangka;?></td>
                            <td><?php echo $row->Nomor_Lambung;?></td>
                            <td><?php echo $row->Nomor_KTA;?></td>
                        </tr>
                        <?php }?>
                    </tbody>
                </table>
            </div>
        <!-- /.table-responsive -->
        </div>
    <!-- /.panel-body -->
    </div>
<!-- /.panel -->
</div>  